package com.ruoyi.exam.mapper;

import com.ruoyi.exam.domain.QuestionTypeEntity;
import com.ruoyi.exam.domain.QuestionTypeEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuestionTypeEntityMapper {
    long countByExample(QuestionTypeEntityExample example);

    int deleteByExample(QuestionTypeEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionTypeEntity record);

    int insertSelective(QuestionTypeEntity record);

    List<QuestionTypeEntity> selectByExample(QuestionTypeEntityExample example);

    QuestionTypeEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionTypeEntity record, @Param("example") QuestionTypeEntityExample example);

    int updateByExample(@Param("record") QuestionTypeEntity record, @Param("example") QuestionTypeEntityExample example);

    int updateByPrimaryKeySelective(QuestionTypeEntity record);

    int updateByPrimaryKey(QuestionTypeEntity record);
}
